import {createApp, App} from 'vue';
import {createRouter, createWebHistory, RouterView, Router} from 'vue-router';
import { createPinia, Pinia} from 'pinia'
const pinia:Pinia = createPinia();
import routes from './config/routes';
const router:Router = createRouter({
    history: createWebHistory(),
    routes
});
const app:App = createApp(RouterView);
app
    .use(router)
    .use(pinia);
app.mount('#app');